
let initialState = '卢本伟'


const nicknameReducer = (state = initialState, action) => {
    let { type, payload } = action;
    switch (type) {
        case 'CHANGE_NAME':
            return payload
        default:
            return state
    }
}

export default nicknameReducer